<script setup>
defineProps(['title'])
defineEmits(['change-title'])
</script>
<template>
  <div @click="$emit('change-title', `${(Math.random() * 100).toFixed(2)}-标题`)">
    title2:{{ title }}
  </div>
</template>
